﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Automation;
using LEET.CommonInterfaces;

namespace Compiled_Tests
{
    public class Box : IBox
    {
        public Box()
        {
            Processes = delegate() { return new List<String>(); };
            Delay = 250;
        }

        public int Delay { get; set; }

        private NameUniquenessGarentee uniq = new NameUniquenessGarentee();

        public AutomationElement RootElement
        {
            get;
            set;
        }
        
        public String MakeUnique(String str)
        {
            return uniq.MakeUnique(str);
        }


        public Enumeration<string> Processes
        {
            get;
            set;
        }
    }
}
